﻿@{
    ViewBag.Title = "修改部门";
    Layout = "~/Views/Shared/_JuiLayout.cshtml";

    Dictionary<string, object> dic_M = Model;
}
@section header {
    <link href="/content/jui-normal.css" rel="stylesheet" type="text/css" />
}
<div id="layout" class="noNavTab">
    <div id="navTab">
        <h2 class="contentTitle">
            修改部门</h2>
        @{
            int id = Utils.StrToInt(ViewData["id"], 0);

            string rturl = "/SysMenu/List?menu=Roles&name=list&pid=" + dic_M["ParentId"];
            using (Html.BeginForm("Edit", "OperateTotal", new { id = id, dtnum = (int)Database.Default, name = DencryptHelper.Encrypt("Sys_IBRoles"), url = rturl }, FormMethod.Post, new { @id = "subForm", @class = "pageForm required-validate", onsubmit = "return validateCallback(this,navTabAjaxDone)" }))
            {
            <div class="pageFormContent nowrap">

                <dl>
                    <dt>编码：</dt>
                    <dd>
                        <input class="textInput required" type="text" name="t0_No" value="@dic_M["No"]" />
                    </dd>
                </dl>
                <dl>
                    <dt>名称：</dt>
                    <dd>
                        <input class="textInput required" type="text" name="t0_Name" value="@dic_M["Name"]" />
                    </dd>
                </dl>
                <dl>
                    <dt>描述：</dt>
                    <dd>
                        <textarea class="textInput required" rows="5" cols="80" name="t0_Description">@dic_M["Description"]</textarea>
                    </dd>
                </dl>
                <dl>
                    <dt>&nbsp</dt>
                    <dd>
                        <div class="buttonActive">
                                <div class="buttonContent">
                                    <button type="submit">
                                        修改</button></div>
                            </div>
                    </dd>
                </dl>
            </div>
                }
            }
        
    </div>
</div>

<link href="/content/jui-normal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    
</script>
